Skip to main content
Version: 1.0.0

setTheme(theme)

change theme of widget checkbox and challenge

You can change the theme by using setTheme() method(usefull in runtime):

window.arcaptcha.setTheme("dark");

You can also do it by setting data-theme property on widget container :

<div class="arcaptcha" data-site-key="SITE_KEY" data-theme="dark"></div>